<html>
<head>
<title>Install Blogmer</title>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<script language="javascript" type="text/javascript" src="img/ajax.js"></script>
<link href="img/buttons.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="content">
<h2>Blogmer Installation Panel</h2>
<h3><img src="img/information.png" /> Beta 2 Installer.</h3>

<div class="buttons">
<form action="install.php" method="post" enctype="application/x-www-form-urlencoded" name="install">
<table width="100%" border="0">
  <tr>
    <td colspan="3"><div id="blue-info"><img src="img/information.png" /> &nbsp;&nbsp;Server Details</div></td>
    </tr>
  <tr>
    <td width="24%">Server Name</td>
    <td colspan="2"><input name="server_name" type="text" id="server_name" size="60" maxlength="100"></td>
  </tr>
  <tr>
    <td>User Name</td>
    <td colspan="2"><input name="user_name" type="text" id="user_name" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>User Password</td>
    <td colspan="2"><input name="user_password" type="text" id="user_password" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>Database Name</td>
    <td colspan="2"><input name="database_name" type="text" id="database_name" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><div id="blue-info"><img src="img/information.png" /> &nbsp;&nbsp;Blog Details</div></td>
    </tr>
  <tr>
    <td width="24%">Blog Name</td>
    <td colspan="2"><input name="blog_name" type="text" id="blog_name" size="60" maxlength="100"></td>
  </tr>
  <tr>
    <td>Blog Title</td>
    <td colspan="2"><input name="blog_title" type="text" id="blog_title" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>Blog Owner</td>
    <td colspan="2"><input name="blog_owner" type="text" id="blog_owner" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>Blog Site URL</td>
    <td colspan="2"><input name="blog_url" type="text" id="blog_url" size="60" maxlength="300"> 
      <br>
      ex. <em>http://sitename.com/blog/ ,http://sitename.com/ <br>
       </em><strong>http://</strong> and last <strong>Last / </strong>is must in blog site url</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><div id="blue-info"><img src="img/information.png" /> &nbsp;&nbsp;Admin Account</div></td>
    </tr>
  <tr>
    <td width="24%">Admin Username</td>
    <td colspan="2"><input name="admin_name" type="text" id="admin_name" size="60" maxlength="100"></td>
  </tr>
  
  <tr>
    <td>Admin Password</td>
    <td colspan="2"><input name="admin_password" type="text" id="admin_password" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>Admin Email</td>
    <td colspan="2"><input name="admin_email" type="text" id="admin_email" size="60" maxlength="300"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  
  <tr>
    <td>&nbsp;</td>
    <td width="21%"><button type="button" class="positive"  onclick="check_connection();"><img src="img/tick.png" />Install</button>       </td>    
    <td width="54%"><button type="reset"  name="button2" id="button2" class="negative"><img src="img/cross.png" />Reset</button></td>
  </tr>
  <tr>
    <td colspan="3"><div id="info1"></div></td>
    </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"> <p id="error"><img src="img/information.png" /> &nbsp;After installation please delete <strong>install folder</strong>.</p>   </td>
    </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><div id="blue-info"><img src="img/information.png" /> &nbsp;Manual Install </div></td>
  </tr>
  <tr>
    <td colspan="3">
    <ul>
      <li>&nbsp;Import the SQL install file. You can find blog.sql in install/manual folder.</li>
      <li> Open system/application/config/database.php file  with a text editor and configure your database settings.</li>
      <li> Open system/application/config/config.php file  with a text editor and configure your blog site url path.</li>
    </ul>
    <p>Admin account will be created automatically.  With following details </p>
    <ul>
      <li>Admin name : <strong>admin</strong></li>
      <li>Password: <strong>111111</strong> (six ones)</li>
      <li>Later using <strong>manages users</strong> you can change your password.</li>
    </ul></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  
  <tr>
    <td colspan="3"><div id="info2"></div></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
 <td width="1%"></td>
  </tr>
</table>
</form>

</div>
</div>

</body>

</html>